package com.ning.ems.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/4/7 12:57
 */
@Data
@ApiModel("DTO-User-Update")
public class UserUpdateDto implements Serializable {
    @ApiModelProperty("账号")
    @NotNull(message = "账号不能为空")
    private Integer id;

    @ApiModelProperty("String属性")
    @NotNull(message = "属性不能为空")
    private String attribute;
}
